package lesson2;

import java.util.Scanner;

public class ForLoopExamples {

	public static void main(String... args) {

		Scanner s = new Scanner(System.in);
		
		int b = 3;
		
		while(b != 100)
		{
			System.out.println("enter a number");
			int x = s.nextInt();
			if(x == 100)
				b = x;
			for(int i = 0; i < x; i++)
			{
				System.out.print(x + " ");
			}
			System.out.println("!");
			
		}
		
		for( int iii = 3; iii < 10;iii++)
		{
			System.out.println(iii);
		}
		
		
		//enter a number
		//if 3 is enterred, print "3 3 3 !";
		//if 7 is enterred, print "7 7 7 7 7 7 7 !"
		//*desert
		//after completion of code, prompt an imput of another number... always!
		
		
	}
}
